package com.bh.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bh.order.domain.JcLedShipment;

import java.util.List;

/**
 * 分段订单运单关联Service接口
 *
 * @author slx
 * @date 2023-04-24
 */
public interface IJcLedShipmentService extends IService<JcLedShipment> {
    /**
     * 查询分段订单运单关联
     *
     * @param jcShipmentId 分段订单运单关联主键
     * @return 分段订单运单关联
     */
    public JcLedShipment selectJcLedShipmentByJcShipmentId(Long jcShipmentId);

    /**
     * 查询分段订单运单关联列表
     *
     * @param jcLedShipment 分段订单运单关联
     * @return 分段订单运单关联集合
     */
    public List<JcLedShipment> selectJcLedShipmentList(JcLedShipment jcLedShipment);

    /**
     * 新增分段订单运单关联
     *
     * @param jcLedShipment 分段订单运单关联
     * @return 结果
     */
    public int insertJcLedShipment(JcLedShipment jcLedShipment);

    /**
     * 修改分段订单运单关联
     *
     * @param jcLedShipment 分段订单运单关联
     * @return 结果
     */
    public int updateJcLedShipment(JcLedShipment jcLedShipment);

    /**
     * 批量删除分段订单运单关联
     *
     * @param jcShipmentIds 需要删除的分段订单运单关联主键集合
     * @return 结果
     */
    public int deleteJcLedShipmentByJcShipmentIds(String jcShipmentIds);

    /**
     * 删除分段订单运单关联信息
     *
     * @param jcShipmentId 分段订单运单关联主键
     * @return 结果
     */
    public int deleteJcLedShipmentByJcShipmentId(Long jcShipmentId);
}
